Analysis of smart meter data based on frequency content

ABSTRACT

Analysis of smart meter and/or similar data based on frequency content is disclosed. In various embodiments, for each of a plurality of resource consumption nodes a time series data including for each of a series of observation times a corresponding resource consumption data associated with that observation time is received. At least a portion of the time series data, for each of at least a subset of the plurality of resource consumption nodes, is transformed into a frequency domain. A feature set based at least in part on the resource consumption data as transformed into the frequency domain is used to detect that resource consumption data associated with a particular resource consumption node is anomalous.

CROSS REFERENCE TO OTHER APPLICATIONS

This application is a continuation of co-pending U.S. patent application Ser. No. 15/983,294, entitled ANALYSIS OF SMART METER DATA BASED ON FREQUENCY CONTENT filed May 18, 2018 which is incorporated herein by reference for all purposes, which is a continuation of U.S. patent application Ser. No. 14/136,368, entitled ANALYSIS OF SMART METER DATA BASED ON FREQUENCY CONTENT filed Dec. 20, 2013, now U.S. Pat. No. 10,001,389, which is incorporated herein by reference for all purposes.

BACKGROUND OF THE INVENTION

Smart meters provide an ability to monitor resource consumption at respective resource consumption nodes, for example, electrical or other energy usage in a home, business, or other location, in a more detailed and granular manner than under prior approaches. Whereas, a traditional meter might have a single value (e.g., kilowatt-hours, cubic feet, etc.) read manually from time-to-time, a smart meter may be configured to report consumption and other attributes at much more frequent and regular intervals, such as hourly.

Traditionally, problems with energy or other resource usage, such as downed lines, damaged equipment, fraud or other theft of the resource, etc. have been difficult to detect and have required extensive resources to address. For example, a utility worker and associated vehicle may have to be dispatched to investigate a reported problem, and such a report may only be received if a consumer or other person happens to notice a problem.

Aggregate (e.g., monthly) usage values have been compared to detected and flag significant changes in resource consumption, such as comparing consumption in a particular month in the current year to corresponding consumption by the same consumer in a prior year, but in current approaches it may be difficult to determine without costly effort (e.g., by a human operator) that the change in consumption as compared to a corresponding period in a prior year is indicative of a problem and if so the nature of the problem and how it should be addressed.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.

FIG. 1 is a block diagram illustrating an embodiment of a resource usage anomaly detection system and environment.

FIG. 2 is a block diagram illustrating an embodiment of an MPP database system comprising a resource usage anomaly detection system.

FIG. 3 is a flow chart illustrating an embodiment of a process to detect anomalous resource consumption.

FIG. 4 is a flow chart illustrating an embodiment of a process to detect and respond to anomalous resource consumption.

FIG. 5 is a flow chart illustrating an embodiment of a process to determine a feature set to be used to detect anomalies.

FIG. 6 is a flow chart illustrating an embodiment of a process to detect anomalies.

DETAILED DESCRIPTION

The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.

A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.

Techniques to detect anomalous resource usage are disclosed. In various embodiments, for each of a plurality of resource consumption nodes a time series data including for each of a series of observation times a corresponding resource consumption data associated with that observation time is received. At least a portion of the time series data, for each of at least a subset of the plurality of resource consumption nodes, is transformed into a frequency domain. A feature set based at least in part on the resource consumption data as transformed into the frequency domain is used to detect that resource consumption data associated with a particular resource consumption node is anomalous.

In some embodiments, cluster analysis is performed to determine one or more clusters of resource consumption nodes. Resource consumption nodes that do not fall within a prescribed “normal” boundary of a corresponding cluster of resource consumption nodes are determined to be anomalous. In some embodiments, a label or other identification of a specific anomaly may be determined and associated with a resource consumption node determined to have exhibited anomalous behavior. The label or other identification may be used in various embodiments to initiate programmatically a specific responsive action associated with the specific anomaly that has been detected.

FIG. 1 is a block diagram illustrating an embodiment of a resource usage anomaly detection system and environment. In the example shown, a plurality of smart meters, represented in FIG. 1 by smart meters 102, 104, and 106, each monitors resource consumption and/or other parameters at a location with which the smart meter is associated, such as a home or business at which the smart meter is installed. The respective meters report data via a network 108, which may include one or more of a peer-to-peer network, an RF or other mesh network, a cellular or other telecommunications network, the Internet, etc. Results reported via network 108 are received at a head-end server (or other head-end system) 110, and in the example shown are provided to a massively parallel processing (MPP) database system 112, such as the Pivotal™ Greenplum™ database system. In the example shown in FIG. 1, the MPP database system 112 has access to a customer relationship management (CRM) database 114, in which customer information associated with customer locations at which the smart meters such as smart meters 102, 104, and 106 are installed may be stored. In addition, in the example shown the MPP database system 112 receives input from one or more other external data sources 116. Examples of other external data sources may include, without limitation, information concerning weather or other environmental conditions, economic activity data, news or other event data, and data associating specific or general consumer locations with one or more attributes, such as income, character of land use, etc. In various embodiments, information derived from one or both of the CRM database 114 and other data sources 116 may be used together with corresponding information reported by smart meters such as meters 102, 104, and 106 to perform anomaly detection analysis as disclosed herein.

FIG. 2 is a block diagram illustrating an embodiment of an MPP database system comprising a resource usage anomaly detection system. In the example shown, the MPP database system 112 includes a master node 202 having a network connection via which resource consumption and related data reported by respective smart meters may be received. The master node communicates via an interconnect 204 with a plurality of segment servers, represented in FIG. 2 by segment servers 208, 210, and 212. In various embodiments, the master node 202 coordinates the parallel processing and storage in a back end data storage 214 of resource consumption data received from smart meters such as meters 102, 104, and 106 of FIG. 1. Examples of data storage 214 include, without limitation, a large scale distribute storage layer built on the Apache™ Hadoop™ framework. In other embodiments, other data storage devices, systems, and/or layers may be used.

In various embodiments, the segment servers (e.g., 208, 210, and 212) comprising MPP database system 112 process in parallel smart meter and associated data from potentially many thousands of smart meters.

FIG. 3 is a flow chart illustrating an embodiment of a process to detect anomalous resource consumption. In various embodiments, an MPP database system such as MPP database system 112 of FIGS. 1 and 2 may implement the process of FIG. 3. In the example shown, smart meter data is received (302). In various embodiments, the received smart meter data may include one or more of energy or other resource consumption over each of a plurality of intervals of a prescribed duration (e.g., per hour increment, per fifteen minute increment); an identification of the smart meter with which the data is associated; a timestamp or other indication of when the report was sent; and one or more other values, such as voltage or other service-related parameters as measured at the reporting site, etc. For each meter, for example, received smart meter data associated with power usage (or other resource consumption) for successive intervals, and/or in some embodiments voltage provided or other observed values reported for successive intervals, is stored, e.g., in an array, as a time series. In some embodiments, the received data may be subject to a validation and “scrubbing” or “cleaning” phase. This may include checking for missing data, ignoring missing data, and/or imputing values to fill in any gaps in the received data.

Each of at least a subset of the time series is transformed into a frequency domain (304), e.g., by applying a Fourier transform. For each meter, a feature set based at least in part on the smart meter data as transformed into the frequency domain is generated (306). For example, in some embodiments, magnitudes computed using the Fourier transform are included in the feature set. The feature sets generated for the respective meters are analyzed to distinguish normal from anomalous resource consumption behaviors (308). For example, in various embodiments, cluster analysis is used to determine one or more clusters of meters (based on the above-described feature sets), which are associated with normal behavior, and to identify meters determined to fall outside the “normal” boundary of a cluster to be associated with potentially anomalous behavior. In various embodiments, the “normal” threshold is chosen by a user and/or is determined by iterative investigation. In some embodiments, a clustering algorithm places anomalous/outlier smart meters (or other nodes) into clusters, but any that are more than a prescribed distance away from the cluster (e.g. from the cluster centroid) as determined by the threshold are considered to be potentially anomalous. Responsive action is taken with respect to meters determined to be associated with anomalous behavior (310). Examples of responsive action may include, without limitation, generating a flag, report, alert, or other communication; generating a task to perform further investigation; dispatching a resource to address a determined or suspected underlying cause of the anomaly; etc.

FIG. 4 is a flow chart illustrating an embodiment of a process to detect and respond to anomalous resource consumption. In the example shown, cluster analysis is performed, e.g., on feature sets generated as described above, to classify meters, i.e., by associating each with a cluster with which it is determined via the cluster analysis to be most closely associated (402). The results of the cluster analysis are used to identify anomalous meters (404). For example, meters that are determined to fall outside a prescribed boundary of a cluster with which the meter is most closely associated, e.g., more than a prescribed distance from a determined center of the cluster, may be identified as being anomalous. For each of at least a subset of the meters determined to be associated with anomalous observed (i.e., reported) usage/behavior, an associated anomaly label (or other identifier) is determined (406). In some embodiments, labels are defined by performing analysis on a set of training data to determine for anomalous meters having one or more characteristic values and/or dimensions or axes along which they are like one another but different than non-anomalous meters that fall within a cluster with which the anomalous meters are most closely associated an underlying business, environmental, and/or other cause associated with the anomaly. For example, in the field of electrical power usage, certain anomalous patterns of usage may be associated with a “vegetation” related breakdown in the infrastructure (e.g., a power line that has been damaged by contact with trees or other vegetation), while others may be indicative of fraudulent usage, such as energy theft, or conducted commercial operations in a residential property under residential utility rates, etc. Referring further to FIG. 4, responsive action is taken based at least in part on the labels assigned to the various anomalies (408). For example, for anomalies determined and labeled to be vegetation related, a truck or other resource may be dispatched to investigate and take corrective action, such as trimming vegetation as needed, whereas for anomalies determined and labeled as being associated with possible fraud or theft an investigator may be assigned to investigate. In various embodiments, all of part of the process of FIG. 4 may be performed in whole or in part without human intervention, e.g., programmatically. In some embodiments, a degree of confidence associated with applicability of a given label to a given anomaly may be used to determine whether (more fully) automated responsive action is initiated, or if instead an alert or task is generated to cause a human operator to evaluate the meter and related data to determine and/or confirm the correct responsive action.

FIG. 5 is a flow chart illustrating an embodiment of a process to determine a feature set to be used to detect anomalies. In the example shown, a training set of smart meter data is transformed into the frequency domain, and values associated with the determined frequency spectrum, e.g., based on Fourier transform computed magnitudes, are determined (502). A candidate set of additional features is selected (504). Examples of additional features may include, for example, a customer or account type identifier (e.g., residential vs. commercial user), a zip code or other location identifier, ambient temperature, other environmental variables, etc. A cluster analysis is performed using the respective magnitudes of respective frequencies in the determined frequency spectrum and the candidate additional features (506). If desired results are obtained (508), for example the analysis yields clusters within which most smart meters fall and/or only a relatively few smart meters are detected as anomalies, the determined frequencies and candidate other features used to perform the cluster analysis are selected to be the feature set to be used, along with the resulting clusters, to analyze smart meter data (512). If instead desirable results are not obtained (508), e.g., too many clusters, too few clusters, very large and/or heterogeneous clusters, no clusters, too many meters fall outside clusters, etc., then a different candidate feature set may be evaluated (510), in this example through a further iteration of steps 502, 504, 506, and 508. In some embodiments, a feature set that did not produce desired results may be used again, but with a different set of meters, e.g., a subset of the meters included in the previous iteration.

FIG. 6 is a flow chart illustrating an embodiment of a process to detect anomalies. In various embodiments, a meter may be detected as anomalous based either on a determination that the meter does not fall within any identified cluster or that the meter has jumped from one cluster to a different one. In the example shown in FIG. 6, smart meter data from a meter m_(i) is received and analyzed (602), e.g., together with corresponding data from a large number of meters. If the meter m_(i) is determined not to fall within a prescribed distance of a cluster centroid determined via cluster analysis (604), the meter is determined to be anomalous (606). If the meter m_(i) is determined to fall within a cluster determined via cluster analysis (604), but the cluster within which it now falls is different from one with which it had been associated previously (608), e.g., based on usage and/or other data from a prior period, then the meter m_(i) is flagged or otherwise identified as being associated with a possible change in the character of usage, for example from a residential usage to a commercial or other usage pattern. If the meter m_(i) falls with a same cluster as in prior analyses (604, 608), the meter m_(i) is determined to be non-anomalous (i.e., normal usage) (612).

Techniques disclosed herein may enable the large volumes of data generated by smart meters to be used to distinguish between normal and anomalous consumption patterns, including in various embodiments the ability to classify meters (e.g., through cluster analysis as disclosed herein), determine and characterize normal usage (e.g., attributes and patterns associated with meters in a cluster, label or otherwise categorize anomalies, and take responsive action based on the classification and/or labeling of anomalies.

Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive. 

What is claimed is:
 1. A method, comprising: receiving for each of a plurality of resource consumption nodes a time series data including for each of a series of observation times a corresponding resource consumption data associated with that observation time; determining to initiate an automated responsive action in response to a determination that resource consumption data associated with a particular resource consumption node is anomalous; determining a type of anomaly associated with the resource consumption data associated with the particular resource consumption node, the type of anomaly being determined based at least in part on resource consumption data associated with the particular resource consumption node; and selecting at least one responsive action from a set of a plurality of responsive actions to be performed based at least in part on one or more anomalies and the type of anomaly, the selecting the at least one responsive action comprising selecting a type of investigation to be initiated based at least in part on the type of anomaly.
 2. The method of claim 1, wherein the type of anomaly is determined based at least in part on a cluster of other time series data that is different from a set of time series data that is determined to be non-anomalous.
 3. The method of claim 1, wherein the type of anomaly associated with the resource consumption data associated with the particular resource consumption node is determined based at least in part on resource consumption data associated with one or more other resource consumption nodes.
 4. The method of claim 1, further comprising: transforming at least a portion of the time series data, for each of at least a subset of the plurality of resource consumption nodes, into a frequency domain; and using a feature set based at least in part on the resource consumption data as transformed into the frequency domain to detect that resource consumption data associated with a particular resource consumption node is anomalous.
 5. The method of claim 4, further comprising: computing a degree of confidence associated with a detection that resource consumption data associated with the particular resource consumption node is anomalous, wherein a determination of whether to initiate an automated responsive action is based at least in part on the degree of confidence.
 6. The method of claim 4, wherein the feature set includes for each of at least a set of frequencies a corresponding magnitude.
 7. The method of claim 4, wherein the feature set includes one or more features not derived directly from the resource consumption data as transformed into the frequency domain.
 8. The method of claim 7, wherein the feature set includes at least one of one or more attributes of a location with which the particular resource consumption node is associated, one or more attributes of a resource consumer with which the particular resource consumption node is associated, or one or more environmental attributes associated with the particular resource consumption node.
 9. The method of claim 4, wherein: the using the feature set based at least in part on the resource consumption data as transformed into the frequency domain to detect that resource consumption data associated with the particular resource consumption node is anomalous includes performing a cluster analysis, including identifying one or more clusters of resource consumption nodes, and the determination that resource consumption data associated with the particular resource consumption node is anomalous includes determining that the particular resource consumption node falls outside a prescribed threshold distance from a cluster centroid of a corresponding one of said one or more clusters of resource consumption nodes.
 10. The method of claim 1, wherein the plurality of resource consumption nodes from which the time series data is received comprise utility users.
 11. The method of claim 1, wherein the plurality of resource consumption nodes from which the time series data is received comprise electric utility users and for each resource consumption node the time series data is received from a smart meter associated with the resource consumption node.
 12. The method of claim 1, further comprising: validating the received time series data associated with the plurality of resource consumption nodes and processing the received time series data for missing data.
 13. The method of claim 1, wherein a threshold used to determine whether resource consumption data associated with the particular resource consumption node is anomalous is user defined.
 14. The method of claim 1, further comprising: receiving contextual data from one or more contextual sources, wherein the determination that the resource consumption data associated with the particular resource consumption node is anomalous is based at least in part on the contextual data.
 15. The method of claim 14, wherein the contextual data includes one or more of weather information, an environmental variable, economic activity, character of land use associated with a corresponding resource consumption node, and income of a user or account associated with the corresponding resource consumption node.
 16. The method of claim 1, wherein the type of anomaly is determined based at least in part on one or more characteristics or dimensions of the resource consumption data as transformed into a frequency domain and a cluster analysis relating to consumption data from the plurality of resource consumption nodes.
 17. The method of claim 1, wherein the determining the type of anomaly comprises determining whether the type of anomaly is a vegetation-related type or a fraudulent usage type.
 18. A system, comprising: a communication interface; and one or more processors coupled to the communication interface and configured to: receive via the communication interface for each of a plurality of resource consumption nodes a time series data including for each of a series of observation times a corresponding resource consumption data associated with that observation time; determine to initiate an automated responsive action in response to a determination that resource consumption data associated with the particular resource consumption node is anomalous; determine a type of anomaly associated with the resource consumption data associated with the particular resource consumption node, the type of anomaly being determined based at least in part resource consumption data associated with the particular resource consumption node; and select at least one responsive action from a set of a plurality of responsive actions to be performed based at least in part on one or more anomalies and the type of anomaly, the selecting the at least one responsive action comprising selecting a type of investigation to be initiated based at least in part on the type of anomaly.
 19. The system of claim 18, wherein the type of anomaly is determined based at least in part on a cluster of other time series data that is different from a set of time series data that is determined to be non-anomalous.
 20. The system of claim 18, wherein the type of anomaly associated with the resource consumption data associated with the particular resource consumption node is determined based at least in part on resource consumption data associated with one or more other resource consumption nodes.
 21. The system of claim 18, wherein the one or more processors are further configured to receive contextual data from one or more contextual sources, and the determination that the resource consumption data associated with the particular resource consumption node is anomalous is based at least in part on the contextual data.
 22. The system of claim 21, wherein the contextual data includes one or more of weather information, an environmental variable, economic activity, character of land use associated with a corresponding resource consumption node, and income of a user or account associated with the corresponding resource consumption node.
 23. A computer program product embodied in a non-transitory computer readable storage medium and comprising computer instructions for: receiving for each of a plurality of resource consumption nodes a time series data including for each of a series of observation times a corresponding resource consumption data associated with that observation time; determining to initiate an automated responsive action in response to a determination that resource consumption data associated with the particular resource consumption node is anomalous; determining a type of anomaly associated with the resource consumption data associated with the particular resource consumption node, the type of anomaly being determined based at least in part resource consumption data associated with the particular resource consumption node; and selecting at least one responsive action from a set of a plurality of responsive actions to be performed based at least in part on one or more anomalies and the type of anomaly, the selecting the at least one responsive action comprising selecting a type of investigation to be initiated based at least in part on the type of anomaly.
 24. The computer program product of claim 23, wherein the type of anomaly is determined based at least in part on a cluster of other time series data that is different from a set of time series data that is determined to be non-anomalous.
 25. The computer program product of claim 23, wherein the type of anomaly associated with the resource consumption data associated with the particular resource consumption node is determined based at least in part on resource consumption data associated with one or more other resource consumption nodes.
 26. The computer program product of claim 23, further comprising instructions for receiving contextual data from one or more contextual sources, wherein the determination that the resource consumption data associated with the particular resource consumption node is anomalous is based at least in part on the contextual data.
 27. The computer program product of claim 23, wherein the contextual data includes one or more of weather information, an environmental variable, economic activity, character of land use associated with a corresponding resource consumption node, and income of a user or account associated with the corresponding resource consumption node. 